package com.lsc.Service;

import com.lsc.Mapper.UserMapper;
import com.lsc.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: springboot_shiro
 * @description: 实现逻辑接口
 * @author: 上河图
 * @create: 2020-09-30 21:34
 */

@Service
public class UserServiceImple implements UserService {


    @Autowired
    UserMapper userMapper;

    @Override
    public User query_User(String username) {

        return userMapper.queryUser(username);
    }
}
